function editorInit()
{
    editor=$('#article_content').xheditor({
                width:'500',
                height:'400',
                urlType:'abs',
                upLinkUrl:'upload.php?immediate=1',
                upImgUrl:'upload.php?immediate=1',
                upFlashUrl:'upload.php?immediate=1',
                upMediaUrl:'upload.php?immediate=1'
            });

}
